<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/Public/wqq/css/common.css" rel="stylesheet" type="text/css" />
<link href="/Public/wqq/css/style.css" rel="stylesheet" type="text/css" />
<link href="/Public/wqq/fonts/iconfont.css" rel="stylesheet" type="text/css" />
<script src="/Public/wqq/js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="/Public/wqq/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
<script src="/Public/wqq/js/common_js.js" type="text/javascript"></script>
<script src="/Public/wqq/js/footer.js" type="text/javascript"></script>
<script src="/Public/wqq/js/lrtk.js" type="text/javascript"></script>



<script src="/Public/wqq/js/jqzoom.js" type="text/javascript"></script>
<title>产品详细页</title>
</head>
<body>
<!--顶部图层-->
 <div id="header_top">
	<div id="top">
		<div class="Inside_pages">
			<div class="Collection">下午好，欢迎光临锦宏颜！<em></em><a href="#">收藏我们</a></div>
			<div class="hd_top_manu clearfix">
				<ul class="clearfix">
					<li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！
						<?php if(session('id') > 0): ?><a href="" class="red"><?php echo (session('username')); ?></a>　<a href="<?php echo ($user); ?>" class="red">[<i class="iconfont icon-yonghu"></i>个人中心]</a>
							<a href="<?php echo ($loginout); ?>" class="red">[退出]</a>
						<?php else: ?> 
							<a href="<?php echo ($login); ?>" class="red">[请登录]</a> 新用户<a href="<?php echo ($regist); ?>" class="red">[免费注册]</a><?php endif; ?>
					</li>
					<li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="<?php echo ($orderlist); ?>">我的订单</a></li> 
					<li class="hd_menu_tit" data-addclass="hd_menu_hover"> <a href="<?php echo ($cart); ?>"><i class="iconfont icon-cart2"></i>　购物车</a> </li>
					<li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="#">联系我们</a></li>
					<li class="hd_menu_tit list_name" data-addclass="hd_menu_hover"><a href="#" class="hd_menu">客户服务</a>
						<div class="hd_menu_list">
							<ul>
								<li><a href="#">常见问题</a></li>
								<li><a href="#">在线退换货</a></li>
								<li><a href="#">在线投诉</a></li>
								<li><a href="#">配送范围</a></li>
							</ul>
						</div>	   
					</li>
					<li class="hd_menu_tit phone_c" data-addclass="hd_menu_hover"><a href="#" class="hd_menu "><em class="iconfont icon-shouji"></em>手机版</a>
						<div class="hd_menu_list erweima">
							<ul>
								<img src=""  width="100px" height="100"/>
							</ul>
						</div>	   
					</li>
				</ul>
			</div>
		</div>
	</div>
  <!--样式-->
<!--顶部样式2-->
	<div id="header "  class="header page_style">
		<div class="logo"><a href="index.html"><img src="/Public/wqq/images/logo.png" /></a></div>
		<!--结束图层-->
		<div class="Search">
			<p><input name="" type="text"  class="text"/><input name="" type="submit" value="搜 索"  class="Search_btn"/></p>
			<p class="Words"><a href="#">苹果</a><a href="#">香蕉</a><a href="#">菠萝</a><a href="#">西红柿</a><a href="#">橙子</a><a href="#">苹果</a></p>
		</div>
	 <!--购物车样式-->
		<div class="hd_Shopping_list" id="Shopping_list">
			<div class="s_cart">
				<em class="iconfont icon-cart2"></em><a href="#">我的购物车</a> <i class="ci-right">&gt;</i><i class="ci-count" id="shopping-amount">
				<?php if($num > 0): echo ($num); ?>
				<?php else: ?>
				0<?php endif; ?>
				</i>
			</div>
			<?php if($num > 0): ?><div class="dorpdown-layer" style="width: 450px;">
				<div class="spacer"></div>
				<div class="prompt"></div>
				<!-- <div class="nogoods"><b></b>购物车中还没有商品，赶紧选购吧！</div> -->
				<ul class="p_s_list">
					<?php if(is_array($buycart)): foreach($buycart as $key=>$vo): ?><li>
							<input type="hidden" name="id" value="<?php echo ($vo["id"]); ?>">
							<div class="img" style="float: left;"><img src="/Public/upload/<?php echo ($vo['photos']); ?>"></div>
							<div class="content" style="float: left;"><p><a href="#"><?php echo ($vo['merchandise']); ?></a></p>
							<!-- <p>颜色分类:紫花8255尺码:XL</p> -->
							</div>
							<div class="Operations">
								<p class="Price">￥<?php echo ($vo['price']); ?></p>
								<p><a href="<?php echo ($delete); ?>?id=<?php echo ($vo["id"]); ?>">删除</a></p>
							</div>
						</li><?php endforeach; endif; ?>
				</ul>		
			<div class="Shopping_style">
				<div class="p-total">共<b><?php echo ($num); ?></b>件商品　共计<strong>￥ <?php echo ($sumtotal); ?></strong></div>
				<a href="<?php echo ($cart); ?>" title="去购物车结算" id="btn-payforgoods" class="Shopping">去购物车结算</a>
			</div>	 
			</div>
			<?php else: ?>
			<div class="dorpdown-layer">
				<div class="spacer"></div>
				<div class="prompt"></div>
			<div class="nogoods"><b></b>购物车中还没有商品，赶紧选购吧！</div>
			</div><?php endif; ?>
		</div>
	</div>
	<!--菜单导航样式-->
	<div id="Menu" class="clearfix">
		<div class="index_style clearfix">
			<div id="allSortOuterbox" class="display">
				<div class="t_menu_img"></div>
				<div class="Category"><a href="../Index/product.html"><em></em>所有产品分类</a></div>
				<div class="hd_allsort_out_box_new">
				<!--左侧栏目开始-->
					<ul class="Menu_list">	
						<?php if(is_array($list)): foreach($list as $key=>$vo): ?><li class="name"> 
								<div class="Menu_name"><a href="../Index/product.html?pid=<?php echo ($vo['id']); ?>" ><?php echo ($vo['category']); ?></a> <span>&lt;</span></div> 
								<div class="link_name">
									<p>
										<?php if(is_array($vo['child'])): foreach($vo['child'] as $key=>$voo): ?><a href="../Index/product.html?pid=<?php echo ($voo['id']); ?>"><?php echo ($voo['category']); ?></a><?php endforeach; endif; ?>
									</p>
								</div> 
								<div class="menv_Detail">
									<div class="cat_pannel clearfix">
										<div class="hd_sort_list">
											<?php if(is_array($vo['child'])): foreach($vo['child'] as $key=>$voo): ?><dl class="clearfix" data-tpc="1">
													<dt><a href="../Index/product.html?pid=<?php echo ($voo['id']); ?>"><?php echo ($voo['category']); ?><i>></i></a></dt>
													<dd>
														<?php if(is_array($voo['child'])): foreach($voo['child'] as $key=>$vooo): ?><a href="../Index/product.html?pid=<?php echo ($vooo['id']); ?>"><?php echo ($vooo['category']); ?></a><?php endforeach; endif; ?>
													</dd> 
												</dl><?php endforeach; endif; ?>
										</div>
										<div class="Brands">
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/34.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/42.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/152.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/156.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/458.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/339.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/245.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/199.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/618.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="/Public/wqq/product/logo/644.jpg" /></a>
											<a href="#" class="AD_3"><img src="/Public/wqq/product/ad/2.jpg" /></a>	   
										</div>
									</div>
								<!--品牌-->		  
								</div>		 
							</li><?php endforeach; endif; ?>
					</ul>	
				</div>		
			</div>
			<script>$("#allSortOuterbox").slide({ titCell:".Menu_list li",mainCell:".menv_Detail",	});</script>
			<!--菜单栏-->
			<div class="Navigation" id="Navigation">
				<ul class="Navigation_name">
					<li><a href="<?php echo ($index); ?>">首页</a></li>
					<?php if(is_array($list)): foreach($list as $key=>$vo): ?><li><a href="../Index/product.html?pid=<?php echo ($vo['id']); ?>"><?php echo ($vo['category']); ?></a></li><?php endforeach; endif; ?>
				</ul>			 
			</div>
			<script>$("#Navigation").slide({titCell:".Navigation_name li"});</script>		
	  	</div>
	</div>
</div>
<!--产品详细页介绍-->
<div class="Inside_pages">
 <!--位置-->
	<div class="Location_link">
		<em></em><?php echo ($cate["2"]["category"]); ?>   &lt;&lt;　<?php echo ($cate["1"]["category"]); ?>　&lt;&lt;　<?php echo ($cate["0"]["category"]); ?>　&lt;&lt;　<?php echo ($product['merchandise']); ?>
	</div>
  <!--产品详细介绍-->
<div class="Details_style clearfix" id="goodsInfo">
  	<div class="mod_picfold clearfix">
	    <div class="clearfix" id="detail_main_img">
 			 <div class="layout_wrap preview">
				<div id="vertical" class="bigImg">
					<img src="/Public/upload/<?php echo ($photos["0"]["photos"]); ?>" width="" height="" alt="" id="midimg" />
					<div style="display:none;" id="winSelector"></div>
				</div>
				<div class="smallImg">
					<div class="scrollbutton smallImgUp disabled">&lt;</div>
					<div id="imageMenu">
						<ul>
							<?php if(is_array($photos)): foreach($photos as $key=>$vo): ?><li class="onlickImg"><img src="/Public/upload/<?php echo ($vo['photos']); ?>"  width="68" height="68" alt="<?php echo ($vo['descriptions']); ?>"/></li><?php endforeach; endif; ?>
						</ul>
					</div>
					<div class="scrollbutton smallImgDown">&gt;</div>
				</div>
				<!-- smallImg end	 -->
				<div id="bigView" style="display:none; width:800px;height:800px;"><div><img width="800" height="800" alt="" src="" /></div></div>
			</div> 
		</div> 
		<div class="Sharing">
	 		<div class="bdsharebuttonbox bdshare-button-style0-16" data-bd-bind="1455606466202"><a href="#" class="bds_more" data-cmd="more">分享到：</a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
			<script type="text/javascript">
			window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{"bdSize":16},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};
				with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
			</script>
	  		<div class="Collect"><i class="iconfont icon-shoucang red"></i><a href="javascript:collect(92)"> 收藏商品( 2345 )</a></div>
	 	</div>
   	</div> 
   <!-- 信息样式 -->
		<div class="textInfo">
			<form action="" name="ECS_FORMBUY" id="ECS_FORMBUY">
				<input type="hidden" name="id" id="id" value="<?php echo ($product['id']); ?>">
				<div class="title"><h1><?php echo ($product['merchandise']); ?></h1></div>
				<div class="mod_detailInfo_priceSales">
					<div class="margins">
						<div class="Price clearfix" name="merchandise_prise"><label>价格</label><span>¥<?php echo ($product['price']); ?></span></div>
						<div class="Activity clearfix"><label>活动</label><span>指定商品满¥50，可换购以下任一商品</span></div>
					</div>
					<div class="s_Review">
						<a href="#">好评率<b>95%</b>[评论<b>87653</b>条]</a>
					</div>
				</div>
				<div class="buyinfo" id="detail_buyinfo">
					<dl>
						<dt name="number">数量</dt>
						<dd>
							<div class="choose-amount left">
								<a class="btn-reduce reduce">-</a>
								<a class="btn-add add">+</a>
								<input class="text" id="buy-num" value="1">
							</div>
							<div class="P_Quantity">剩余：<?php echo ($product['stock']); ?>件</div>        
						</dd>
						<dd>
							<div class="wrap_btn">
								<a class="wrap_btn1" title="加入购物车" id="addcart"></a>
								<a href="" class="wrap_btn2" title="立即购买"></a>
							</div>
						</dd>
					</dl>
				</div>
				<div class="Guarantee clearfix">
					<dl>
						<dt>支付方式</dt>
						<dd><em></em>货到付款（部分地区）</dd>
						<dd><em></em>在线支付</dd> 
						<dd> 
							<div class="payment" id="payment">
								<a href="javascript:void(0);" class="paybtn">支付方式<span class=" iconfont icon-unfold"></span></a>
								<ul><li>货到付款</li><li>礼品卡支付</li><li>网上支付</li><li>银行转账</li></ul>
							</div>
						</dd>
					</dl>
				</div>	  
			</form>
		</div>
		<script type="text/javascript">
			$('#addcart').on('click',function(){
				$.ajax({
					type:'post',
                    url:'<?php echo ($addcart); ?>',
                    data:{
                    	id:$('#id').attr('value'),
                    	num:$('#buy-num').attr('value'),
                    },
                    dataType:'json',
                    success:function(date){
                        if(date.status=="ok"){
                        	alert(date.msg);
                        	window.location.reload();
                        }else{
                        	alert(date.msg);
                        	window.location.reload();
                        }
                    }
				});
			});
		</script>
  <!--产品推荐-->
		<div class="Recommend">
			<div class="title_name">同类产品推荐</div>
			<div class="Recommend_list">
				<ul>
					<li class="clearfix">
						<div class="pic_img"><a href=""><img src="/Public/wqq/product/p_3.jpg" data-bd-imgshare-binded="1"></a></div>
						<div class="r_content">
							<div class="title"><a href="#">金龙鱼 东北大米 蟹稻共生 盘锦大米5KG</a></div>
							<div class="p_Price">￥32.50</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
  <!--信息内容-->
    <div class="detailed_info clearfix">
		<div class="left_style">
			<div class="Records">
				<div class="title_name">用户浏览记录</div>
				<ul>
					<li>
						<a href="#">
							<p><img src="" data-bd-imgshare-binded="1"></p>
							<p class="p_name">SanmiuSunflower新苗向日葵 乳酪夹心饼干 270g 菲律宾进口</p>
						</a>
						<p><span class="p_Price">￥5.30</span><b>10.4</b></p>
					</li>
					<li>
						<a href="#">
							<p><img src="" data-bd-imgshare-binded="1"></p>
							<p class="p_name">商品名称</p>
						</a>
						<p><span class="p_Price">￥5.30</span><b>10.4</b></p>
					</li>
					<li>
						<a href="#">
							<p><img src="" data-bd-imgshare-binded="1"></p>
							<p class="p_name">商品名称</p>
						</a>
						<p><span class="p_Price">￥5.30</span><b>10.4</b></p>
					</li>
				</ul>
			</div>
		</div>
   <!---->
   <div class="right_style ">
		<div id="recommnad">
			<dl class="recommnad explosion " >
				<dt><i></i>同类销售商品排行榜</dt>
				<dd data-hover="hover" class="bordernone">
					<span>
						<a href="#" class="pic"><img src="/Public/wqq/product/p_3.jpg" width="130"  height="130"  data-bd-imgshare-binded="1"></a>
						<a href="#" class="tit">Gullon谷优 热带奶油饼干 200g 西班牙进口</a>
						<p>￥39.00</p>
						<a href="#" class="commandbtn">加入购物车</a>
					</span>
					<div class="exp_ico one">1</div>
				</dd>
				<dd data-hover="hover" class="bordernone">
					<span>
						<a href="#" class="pic"><img src="/Public/wqq/product/p_3.jpg" width="130"  height="130"  data-bd-imgshare-binded="1"></a>
						<a href="#" class="tit">Gullon谷优 热带奶油饼干 200g 西班牙进口</a>
						<p>￥39.00</p>
						<a href="#" class="commandbtn">加入购物车</a>
					</span>
					<div class="exp_ico one">2</div>
				</dd>
				<dd data-hover="hover" class="bordernone">
					<span>
						<a href="#" class="pic"><img src="/Public/wqq/product/p_3.jpg" width="130"  height="130"  data-bd-imgshare-binded="1"></a>
						<a href="#" class="tit">Gullon谷优 热带奶油饼干 200g 西班牙进口</a>
						<p>￥39.00</p>
						<a href="#" class="commandbtn">加入购物车</a>
					</span>
					<div class="exp_ico one">3</div>
				</dd>
				<dd data-hover="hover" class="bordernone">
					<span>
						<a href="#" class="pic"><img src="" width="130"  height="130" data-bd-imgshare-binded="1"></a>
						<a href="#" class="tit">Gullon谷优 热带奶油饼干 200g 西班牙进口</a>
						<p>￥39.00</p>
						<a href="#" class="commandbtn">加入购物车</a>
					</span>
					<div class="exp_ico one">4</div>
				</dd>
				<dd data-hover="hover" class="bordernone">
					<span>
						<a href="#" class="pic"><img src="" width="130"  height="130" data-bd-imgshare-binded="1"></a>
						<a href="#" class="tit">Gullon谷优 热带奶油饼干 200g 西班牙进口</a>
						<p>￥39.00</p>
						<a href="#" class="commandbtn">加入购物车</a>
					</span>
					<div class="exp_ico one">5</div>
				</dd>
			</dl>
		</div>
		<div class="inDetail_boxOut">
			<div class="inDetail_box">
				<div class="fixed_out ">
					<ul class="inLeft_btn">
						<li><a id="property-id" href="#shangpsx" class="current">商品属性</a></li>
						<li><a id="detail-id" href="#shangpjs">规格与包装</a></li>
						<li><a id="shot-id" href="#miqsp">售后服务</a></li>
						<li><a id="coms1-id" href="#coms1">买家评论</a></li>
					</ul>
					<div class="subbuy">
						<span class="extra currentPrice"> ¥29.90</span>
						<a href="#" class="extra  notice J_BuyButtonSub">立即购买</a>
					</div>
				</div>
			</div>	  
		</div>
    <!--信息--> 
    <div id="shangpsx">
     <table>
      <tr><?php echo (htmlspecialchars_decode($product['details'])); ?></tr>

     </table>
    </div> 
   </div>
  </div>
 </div>
<div class="slogen">
  <div class="index_style">
    <ul class="wrap">
	 <li>
	  <a href="#"><img src="/Public/wqq/images/slogen_34.png" data-bd-imgshare-binded="1"></a>
	  <b>安全保证</b>
	  <span>多重保障机制 认证商城</span>
	 </li>
	 <li><a href="#"><img src="/Public/wqq/images/slogen_28.png" data-bd-imgshare-binded="2"></a>
	  <b>正品保证</b>
	  <span>正品行货 放心选购</span>
	 </li>
	 <li>
	  <a href="#"><img src="/Public/wqq/images/slogen_30.png" data-bd-imgshare-binded="3"></a>
	  <b>七天无理由退换</b>
	  <span>七天无理由保障消费权益</span>
	 </li>
      <li>
	  <a href="#"><img src="/Public/wqq/images/slogen_31.png" data-bd-imgshare-binded="4"></a>
	  <b>天天低价</b>
	  <span>价格更低，质量更可靠</span>
	 </li>
	</ul>
  </div>
 </div>
<!--底部图层-->
<div class="phone_style">
 <div class="index_style">
   <span class="phone_number"><em class="iconfont icon-dianhua"></em>400-4565-345</span><span class="phone_title">客服热线 7X24小时 贴心服务</span>
 </div>
</div>
<div class="footerbox clearfix">
  <div class="clearfix">
   <div class="">
    <dl>
	 <dt>新手上路</dt>
	 <dd><a href="#">售后流程</a></dd>
     <dd><a href="#">购物流程</a></dd>
     <dd><a href="#">订购方式</a> </dd>
     <dd><a href="#">隐私声明 </a></dd>
     <dd><a href="#">推荐分享说明 </a></dd>
	</dl>
	<dl>
	 <dt>配送与支付</dt>
	 <dd><a href="#">保险需求测试</a></dd>
     <dd><a href="#">专题及活动</a></dd>
     <dd><a href="#">挑选保险产品</a> </dd>
     <dd><a href="#">常见问题 </a></dd>
	</dl>
	<dl>
	 <dt>售后保障</dt>
	 <dd><a href="#">保险需求测试</a></dd>
     <dd><a href="#">专题及活动</a></dd>
     <dd><a href="#">挑选保险产品</a> </dd>
     <dd><a href="#">常见问题 </a></dd>
	</dl>
	<dl>
	 <dt>支付方式</dt>
	 <dd><a href="#">保险需求测试</a></dd>
     <dd><a href="#">专题及活动</a></dd>
     <dd><a href="#">挑选保险产品</a> </dd>
     <dd><a href="#">常见问题 </a></dd>
	</dl>	
    <dl>
	 <dt>帮助中心</dt>
	 <dd><a href="#">保险需求测试</a></dd>
     <dd><a href="#">专题及活动</a></dd>
     <dd><a href="#">挑选保险产品</a> </dd>
     <dd><a href="#">常见问题 </a></dd>
	</dl>	   
   </div>
  </div>
 <div class="text_link">
   <p>
  <a href="#">关于我们</a>｜ <a href="#">公开信息披露</a>｜ <a href="#">加入我们</a>｜ <a href="#">联系我们</a>｜ <a href="#">版权声明</a>｜ <a href="#">隐私声明</a>｜ <a href="#">网站地图</a></p>
	 <p>蜀ICP备11017033号 Copyright ©2011 成都福际生物技术有限公司 All Rights Reserved. Technical support:CDDGG Group</p>
  </div>
  </div>
<div class="fixedBox">
  <ul class="fixedBoxList">
      <li class="fixeBoxLi user"><a href="#"> <span class="fixeBoxSpan iconfont icon-yonghu"></span> <strong>用户</strong></a> </li>
 <!--    <li class="fixeBoxLi cart_bd" style="display:block;" id="cartboxs">
		<p class="good_cart">0</p>
			<span class="fixeBoxSpan iconfont icon-cart"></span> <strong>购物车</strong>
			<div class="cartBox">
       		<div class="bjfff"></div>
       		<div class="message">购物车内暂无商品，赶紧选购吧</div>
       			<ul class="p_s_list">
					<?php if(is_array($cart)): foreach($cart as $key=>$vo): ?><li>
							<div class="img><img src="/Public/upload/<?php echo ($vo['photos']); ?>"></div>
							<div class="content"><p><a href="#"><?php echo ($vo['merchandise']); ?></a></p><p>颜色分类:紫花8255尺码:XL</p></div>
							<div class="Operations">
								<p class="Price">￥<?php echo ($vo['price']); ?></p>
								<p><a href="#">删除</a></p>
							</div>
						</li><?php endforeach; endif; ?>
				</ul>
       		</div>
    </li> -->
    <li class="fixeBoxLi Service "> <span class="fixeBoxSpan iconfont icon-service"></span> <strong>客服</strong>
      <div class="ServiceBox">
        <div class="bjfffs"></div>
        <dl onclick="javascript:;">
		    <dt><img src=""></dt>
		       <dd><strong>QQ客服1</strong>
		          <p class="p1">9:00-22:00</p>
		           <p class="p2"><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=123456&amp;site=DGG三端同步&amp;menu=yes">点击交谈</a></p>
		          </dd>
		        </dl>
				<dl onclick="javascript:;">
		          <dt><img src=""></dt>
		          <dd> <strong>QQ客服1</strong>
		            <p class="p1">9:00-22:00</p>
		            <p class="p2"><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=123456&amp;site=DGG三端同步&amp;menu=yes">点击交谈</a></p>
		          </dd>
		        </dl>
	          </div>
     </li>
	 <li class="fixeBoxLi code cart_bd " style="display:block;" id="cartboxs">
			<span class="fixeBoxSpan iconfont icon-erweima"></span> <strong>微信</strong>
			<div class="cartBox">
       		<div class="bjfff"></div>
			<div class="QR_code">
			 <p><img src="" width="150px" height="150px" style=" margin-top:10px;" /></p>
			 <p>微信扫一扫，关注我们</p>
			</div>		
			</div>
			</li>

    <li class="fixeBoxLi Home"> <a href="./"> <span class="fixeBoxSpan iconfont  icon-shoucang"></span> <strong>收藏</strong> </a> </li>
    <li class="fixeBoxLi Home"> <a href="./"> <span class="fixeBoxSpan iconfont  icon-zuji"></span> <strong>足迹</strong> </a> </li>
    <li class="fixeBoxLi Home"> <a href="./"> <span class="fixeBoxSpan iconfont  icon-fankui"></span> <strong>反馈</strong> </a> </li>
    <li class="fixeBoxLi BackToTop"> <span class="fixeBoxSpan iconfont icon-top"></span> <strong>返回顶部</strong> </li>
  </ul>
</div>
<script type="text/javascript">
	$('.add').on('click',function(){
	var a=$(this).parent().find('#buy-num');
	var num=parseInt($(a).val());
	num++;
	$(a).val(num);
	});
	$('.reduce').on('click',function(){
	var a=$(this).parent().find('#buy-num');
	var num=parseInt($(a).val());
	num--;
	if (num<1) {
		num=1;
	}
	$(a).val(num);
	});
</script>
</body>
</html>